//这题令人迷惑，下面给出两个参考答案

#include <stdio.h>

int main()
{
    int k, len;
    char str[81]="Happy";

    k = 0;
    while
(str[k]&&k<81)
{
        k++;
    }
    
if(k!=81)

    len = 
k
;

    printf("%d\n", len);

    return 0;
}


#include <stdio.h>

int main()
{
    int k, len;
    char str[81]="Happy";

    k = 0;
    while
(str[k])
{
        k++;
    }
    
;

    len = 
k
;

    printf("%d\n", len);

    return 0;
}